package com.company.cloud.common.constant;


public class BaseConstant {

	
	/**平台公司编号*/
	public static String Platform_Company="PTC";
	
	/**
	 * 是否有效 1：有效 0：失效
	 */
	public enum EnabledEnum implements BaseCodeEnum{
		ENABLED("1","有效"),
		DISABLED("0","失效");
		private String code;
		private String msg;
		private EnabledEnum(String code,String msg) {
			this.code=code;
			this.msg=msg;
		}
		@Override
		public String getCode() {
			return code;
		}
		@Override
		public String getMsg() {
			return msg;
		}
	}

	/**
	 * 是否 1：是 0：否
	 */
	public enum YNEnum implements BaseCodeEnum{
		YES("1","是"),
		NO("0","否");

		private String code;
		private String msg;

		private YNEnum() {
		}

		private YNEnum(String code,String msg) {
			this.code = code;
			this.msg=msg;
		}

		public String getCode() {
			return code;
		}

		@Override
		public String getMsg() {
			return msg;
		}
	}

	
	
	/**
	 * 语言定义
	 * */
	public enum LangEnum implements BaseCodeEnum{
		ZH("zh","简体中文"),
		EN("en","英文"),
		;
		private String code;
		private String msg;
		private LangEnum(String code,String msg) {
			this.code = code;
			this.msg=msg;
		}
		@Override
		public String getCode() {
			return code;
		}

		@Override
		public String getMsg() {
			return msg;
		}
		
	}

}
